*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.calculator{
    height: 600px;
    width: 460px;
    background-color: black;
    border-radius: 60px;
}
.bar{
    display: flex;
    justify-content: center;
    padding-top: 10px;
}
.bar span{
    height: 2px;
    width: 110px;
    background-color: #fff;
}
.screen{
    height: 200px;
    display: flex;
   color: #fff;
   font-size: 40px;
   flex-direction: column;
   align-items: flex-end;
   padding-right: 20px;
   padding-top: 40px;
}
.buttons{
   display: grid;
   grid-template-rows: repeat(5,1fr);
   grid-template-columns: repeat(4,1fr);
   grid-gap: 10px;
}
.buttons button{
    width: 70px;
    height: 40px;
    font-size: 40px;
    border-radius: 50%;
   background-color: #faf5f5;
    border: none;
    margin: 10px;
}
 .buttons .btn-del{
    width: 180px;
    border-radius: 40px;
    grid-column-start: 1;
    grid-column-end: 3;
 }
 .buttons .btn-equal{
    width: 290px;
    grid-column-start: 2;
    grid-column-end: 5;
    border-radius: 40px;
 }
 .buttons .function{
    background-color: #bf9d0b;
 }
 .buttons button:active{
    filter:brightness(240%)
 }